package com.eastfair.venuebooking.dto;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.eastfair.core.base.entity.SuperEntity;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 报价书详情
 * </p>
 *
 * @author linan
 * @since 2022-06-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "QuotationDetailUpdateDTO", description = "报价书详情")
public class QuotationDetailUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 报价书id
     */
    @ApiModelProperty(value = "报价书id")
    private Long quotitionId;
    /**
     * 展厅id
     */
    @ApiModelProperty(value = "展厅id")
    private Long spaceId;
    /**
     * 展厅名称
     */
    @ApiModelProperty(value = "展厅名称")
    @Size(max = 255, message = "展厅名称长度不能超过255")
    private String spaceName;
    /**
     * 单价
     */
    @ApiModelProperty(value = "单价")
    private BigDecimal price;
    /**
     * 计价面积
     */
    @ApiModelProperty(value = "计价面积")
    @Size(max = 255, message = "计价面积长度不能超过255")
    private String priceArea;
    /**
     * 计价时长
     */
    @ApiModelProperty(value = "计价时长")
    private BigDecimal priceDuration;
    /**
     * 计价单位
     */
    @ApiModelProperty(value = "计价单位")
    @Size(max = 255, message = "计价单位长度不能超过255")
    private String priceUnit;
    /**
     * 展厅确定时长
     */
    @ApiModelProperty(value = "展厅确定时长")
    private Integer ascertainTime;
    /**
     * 折扣前总价
     */
    @ApiModelProperty(value = "折扣前总价")
    private BigDecimal amount;
    /**
     * 折扣后总价
     */
    @ApiModelProperty(value = "折扣后总价")
    @Size(max = 255, message = "折扣后总价长度不能超过255")
    private String discountAmount;
    /**
     * 折扣
     */
    @ApiModelProperty(value = "折扣")
    private Integer discountPercent;


    /**
     * 场地保证金
     */
    @ApiModelProperty(value = "场地保证金")
    private BigDecimal spaceDeposit;

    /**
     * 服务预付款
     */
    @ApiModelProperty(value = "服务预付款")
    private BigDecimal serviceAdvanceCharge;
}
